FileGetSize

 

The 'FileGetSize' function returns the size of the specified file.

 

DWORD FileGetSize(string file_name);

 

Parameters

string file_name : file name including the absolute path

 

Return Value

size of the specifed file (Byte)

 

Example

size = @FileGetSize("C:\\TEXT1.TXT");

Description : The size of 'C:\\TEXT1.TXT' is stored in the variable named 'size'.